|
|
|
|
|
14
Additional Data Control Topics |
|
|
|
| |
 |
|
|
|
|
Other Data-aware Controls |
|
|
|
| |
 |
|
|
|
|
Data-bound Combo Box |
|
|
|
| |
 |
|
|
|
|
Data-bound List Box |
|
|
|
| |
 |
|
|
|
|
Synchronizing the List Box |
|
|
|
| |
 |
|
|
|
|
Data-bound Grid Control |
|
|
|
| |
 |
|
|
|
|
Property Pages |
|
|
|
| |
 |
|
|
|
|
Displaying the Number of Records |
|
|
|
| |
 |
|
|
|
|
Your Own Record Movement Buttons |
|
|
|
| |
 |
|
|
|
|
Making the Data Control Invisible |
|
|
|
| |
 |
|
|
|
|
Record Movement Buttons |
|
|
|
| |
 |
|
|
|
|
Finding Records |
|
|
|
| |
 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Review Questions |
|
|
|
| |
|
|
|
|
|
15
Multiple Document Interface |
|
|
|
| |
 |
|
|
|
|
What Is MDI? |
|
|
|
| |
 |
|
|
|
|
Single Document Interface |
|
|
|
| |
 |
|
|
|
|
Uses of MDI |
|
|
|
| |
 |
|
|
|
|
Creating an MDI Form |
|
|
|
| |
 |
|
|
|
|
MDI Icons |
|
|
|
| |
 |
|
|
|
|
Runtime Features of MDI Child Forms |
|
|
|
| |
 |
|
|
|
|
Creating the Employee Tracking System |
|
|
|
| |
 |
|
|
|
|
Moving Menus |
|
|
|
| |
 |
|
|
|
|
Child Menus in MDI Applications |
|
|
|
| |
 |
|
|
|
|
Arranging Child Forms |
|
|
|
| |
 |
|
|
|
|
Positioning Child Forms |
|
|
|
| |
 |
|
|
|
|
Centering Forms |
|
|
|
| |
 |
|
|
|
|
Tracking Child Windows |
|
|
|
| |
 |
|
|
|
|
Creating Pop-up Menus |
|
|
|
| |
 |
|
|
|
|
Unloading an MDI Application |
|
|
|
| |
 |
|
|
|
|
Stopping the Unload |
|
|
|
| |
 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Review Questions |
|
|
|
| |
| |
 |
|
|
|
|
Three Modes of Visual Basic |
|
|
|
| |
 |
|
|
|
|
The Debug Toolbar |
|
|
|
| |
 |
|
|
|
|
Invoking the Debugger |
|
|
|
| |
 |
|
|
|
|
Quick Watch |
|
|
|
| |
 |
|
|
|
|
Setting the Next Statement to Execute |
|
|
|
| |
 |
|
|
|
|
The Call Stack Window |
|
|
|
| |
 |
|
|
|
|
Setting Breakpoints |
|
|
|
| |
 |
|
|
|
|
The Stop Statement |
|
|
|
| |
 |
|
|
|
|
Setting Watch Variables |
|
|
|
| |
 |
|
|
|
|
Using the Immediate Window |
|
|
|
| |
 |
|
|
|
|
Printing to the Immediate Window |
|
|
|
| |
 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Review Questions |
|
|
|
| |
| |
 |
|
|
|
|
How Visual Basic Handles Error |
|
|
|
| |
 |
|
|
|
|
Error-handling Techniques |
|
|
|
| |
 |
|
|
|
|
On Error GoTo <LabelName> |
|
|
|
| |
 |
|
|
|
|
Statements to Put in an Error Label |
|
|
|
| |
 |
|
|
|
|
The Err Object |
|
|
|
| |
 |
|
|
|
|
Err.Number |
|
|
|
| |
 |
|
|
|
|
Err.Description |
|
|
|
| |
 |
|
|
|
|
Getting a List of Errors |
|
|
|
| |